package me.idashu.attg.persistence;

import java.util.List;
import java.util.Map;

import me.idashu.attg.domain.LabelEntity;


public interface LabelMapper {
	/**
	 * ͨ通过
	 * @param citycode
	 * @return
	 */
	public List<LabelEntity> getListLabelEntity(String citycode);
	/**
	 * 通过大分类ID获取该大分类ID下面的小分类ID
	 * @param uplabelId
	 * @return
	 */
	public List<LabelEntity> getAllLabelEntity(int uplabelId);
	/**
	 * 查询小分类
	 * @param labelId
	 * @return
	 */
	public LabelEntity getLabelEntityInfo(int labelId);
	
	/**
	 * 添加小分类
	 * @param labelEntity
	 */
	public void insertLabelEntity(LabelEntity labelEntity);
	
	public List<LabelEntity> getLabelList(Map<String, Object> map);
	
	public int getCountLabelList(int uplabelId);

}
